<table class="form" cellspacing="0" cellpadding="0" border="0">
  <tr>
    <td colspan="2">
<%= error_message_on "site", "title" %>
<%= error_message_on "site", "description" %>
    </td>
  </tr>
  <tr>
    <td width="100" align="right">名称</td>
    <td width="400" align="left"><%= text_field 'site', 'title', :class => "sll"  %></td>
  </tr>
  <tr>
    <td width="100" valign="top" align="right">类别</td>
    <td width="400" align="left"><%= select("site", "site_category_id", @site_categories)%></td>
  </tr>
  <tr>
    <td width="100" valign="top" align="right">图标</td>
    <td width="400" align="left"><%= file_column_field "site", "image" %></td>
  </tr>
  <tr>
    <td width="100" valign="top" align="right">描述</td>
    <td width="400" align="left"><%= text_area 'site', 'description', "rows" => 6, :class => "ml"  %></td>
  </tr>
  <tr>
    <td width="100" valign="top" align="right">联系方式</td>
    <td width="400" align="left"><%= text_area 'site', 'biz_contact', "rows" => 6, :class => "ml"  %></td>
  </tr>
  <tr>
    <td width="100" valign="top" align="right">地址</td>
    <td width="400" align="left"><%= text_area 'site', 'biz_place', "rows" => 6, :class => "ml"  %></td>
  </tr>
  <tr>
    <td  width="500" valign="middle" align="right" colspan="2">
      <%= submit_tag '完成提交' %>
    </td>
  </tr>
</table>
